package com.student.service;

import com.student.VO.PhAdminVO;
import com.student.VO.PhAdminVOs;
import com.student.VO.UserVO;
import com.student.dto.ResponseDto;

public interface SnackAdminService {
    //    管理员登录
    ResponseDto adminLogin(UserVO phUserVO);

    //  用户信息分页查询
    ResponseDto insertPagination(PhAdminVO phAdminVO);

    //  修改状态  禁用用户
    ResponseDto updateStatics(Integer status, Integer id);

    // 重置用户密码
    ResponseDto resUserPassword(Integer id);

    // 删除用户
    ResponseDto deleteUser(Integer id);

    //查询管理员
    ResponseDto adminInsertPage(PhAdminVO phAdminVO);

    //  查询所有角色
    ResponseDto getRoleName();

    //修改角色
    ResponseDto updateAdminRoleId(Integer roleId, Integer id);

    //删除管理员
    ResponseDto deleteAdmin(Integer id);

    // 添加管理员
    ResponseDto addAdminAccountAndPassword(PhAdminVOs phAdminVOs);

    ResponseDto restPassword(Integer id, String oldPassword, String newPassword);
}
